home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
KeyTranslation.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
68 lines
;
; File: KeyTranslation.a
;
; Version: Technology: System 8.0
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__KEYTRANSLATION__') = 'UNDEFINED' THEN
__KEYTRANSLATION__ SET 1
IF &TYPE('__KEYBOARD__') = 'UNDEFINED' THEN
include 'Keyboard.a'
ENDIF
IF &TYPE('__LOCALEOBJECTS__') = 'UNDEFINED' THEN
include 'LocaleObjects.a'
ENDIF
IF &TYPE('__TEXTINPUTSYSTEM__') = 'UNDEFINED' THEN
include 'TextInputSystem.a'
ENDIF
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
IF FOR_SYSTEM8_COOPERATIVE THEN
; typedef LocaleObjectRef KeyTranslationObjectRef
;
; extern OSStatus NewKeyTranslationContext(KeyTranslationContextRef *contextRef, KeyTranslationObjectRef translationObject)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION NewKeyTranslationContext
ENDIF
;
; extern OSStatus DisposeKeyTranslationContext(KeyTranslationContextRef *contextRef)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION DisposeKeyTranslationContext
ENDIF
;
; extern OSStatus TranslateVirtualKeyCode(KeyTranslationContextRef contextRef, VirtualKeyCode keycode, UInt16 *character)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION TranslateVirtualKeyCode
ENDIF
;
; extern OSStatus TranslateVirtualKeyCodeBuffer(KeyTranslationContextRef contextRef, const VirtualKeyCode *keycodeBuffer, UInt32 keycodeBufferSize, UInt16 *characterBuffer, UInt32 characterBufferSize)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION TranslateVirtualKeyCodeBuffer
ENDIF
ENDIF
; FOR_SYSTEM8_COOPERATIVE
ENDIF ; __KEYTRANSLATION__